package com.wwinsoft.framework.entity.system;

import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

import com.wwinsoft.framework.entity.IdVersionEntity;

/**
 * @author: Tim.Chen
 * @since: 1.0
 */
@Entity
@Table(name = "T_SYSTEM_SETTING")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class SystemSetting extends IdVersionEntity {

    public static String DATA_FILE_LOCATION = "data_file_location";

    private String key;
    private String name;
    private String value;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
